package java67_2;

import java.util.Scanner;

public class Prize2 {

	public static void main(String[] args) {
		// java大于90,music 大于80,才有奖励
		Scanner in = new Scanner(System.in);
		System.out.println("请输入java和音乐成绩:");
		int javaScore = in.nextInt();
		int musicScore = in.nextInt();
		if (javaScore > 90 && musicScore > 80) {
			System.out.println("有iphone 四十作为奖励");
		}
	}

}
